<?php

namespace app\enterprise\model\course;

use app\model\TimeModel;

class Courseware extends TimeModel
{
    protected $table = 'sj_courseware';

    public function teacher()
    {
        return $this->belongsTo(Teacher::class, 'teacher_id', 'id');
    }
}